﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RoboZip
{
    public class Job : IJob
    {
        Guid guid = new Guid();

        public Job()
        {
            ExecutionCounter = 0;
            ErrorNumber = ErrorNumber.NoError;
            guid = System.Guid.NewGuid();
        }

        public Guid GUID
        { get { return guid; } }

        public long ExecutionCounter
        { get; set; }

        public String SourcePath
        { get; set; }

        public String DestinationPath
        { get; set; }

        public List<String> FileList
        { get; set; }

        public Nullable<MonitoringPeriod> MonitoringPeriod
        { get; set; }

        public Nullable<Boolean> DeleteSource
        { get; set; }

        public Nullable<Boolean> UpdateDestination
        { get; set; }

        public Nullable<DateTime> Start
        { get; set; }

        public String FileNamePattern
        { get; set; }

        public String ErrorDescription
        { get; set; }

        public ErrorNumber ErrorNumber
        { get; set; }
    }
}
